package com.zx.mes.hyl.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 华云龙
 * @since 2018-06-21
 */
@TableName("MCXMonitorLog")
public class MCXMonitorLog extends Model<MCXMonitorLog> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    /**
     * 日期
     */
    @TableField("MDate")
    private Date MDate;
    /**
     * 部门
     */
    @TableField("MDept")
    private String MDept;
    /**
     * 课别
     */
    @TableField("MDept1")
    private String MDept1;
    /**
     * 车间
     */
    @TableField("MPlant")
    private String MPlant;
    /**
     * 机台类别
     */
    @TableField("MMachType")
    private String MMachType;
    /**
     * 机台
     */
    @TableField("MMach")
    private String MMach;
    /**
     * 作业者
     */
    @TableField("MMan")
    private String MMan;
    /**
     * 灯号
     */
    @TableField("MLamp")
    private String MLamp;
    /**
     * 灰灯时间
     */
    @TableField("MGray")
    private Date MGray;
    /**
     * 红灯时间
     */
    @TableField("MRed")
    private Date MRed;
    /**
     * 黄灯时间
     */
    @TableField("MYellow")
    private Date MYellow;
    /**
     * 绿灯时间
     */
    @TableField("MGreen")
    private Date MGreen;
    /**
     * 即时停机时间
     */
    @TableField("MStopNow")
    private String MStopNow;
    /**
     * 总停机时间
     */
    @TableField("MStopTotle")
    private String MStopTotle;
    /**
     * 影响项目
     */
    @TableField("MReason")
    private String MReason;
    /**
     * 影响部门
     */
    @TableField("MResdDept1")
    private String MResdDept1;
    /**
     * 影响课别
     */
    @TableField("MResdDept2")
    private String MResdDept2;
    /**
     * 类别
     */
    @TableField("MType")
    private String MType;
    /**
     * Spec
     */
    @TableField("MSpec")
    private String MSpec;
    /**
     * 规格
     */
    @TableField("MPrd")
    private String MPrd;
    /**
     * 标准尺度
     */
    @TableField("MDesc")
    private String MDesc;
    /**
     * CT时间
     */
    private Float mct;
    /**
     * 影响条数
     */
    @TableField("MTireCount")
    private Integer MTireCount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getMDate() {
        return MDate;
    }

    public void setMDate(Date MDate) {
        this.MDate = MDate;
    }

    public String getMDept() {
        return MDept;
    }

    public void setMDept(String MDept) {
        this.MDept = MDept;
    }

    public String getMDept1() {
        return MDept1;
    }

    public void setMDept1(String MDept1) {
        this.MDept1 = MDept1;
    }

    public String getMPlant() {
        return MPlant;
    }

    public void setMPlant(String MPlant) {
        this.MPlant = MPlant;
    }

    public String getMMachType() {
        return MMachType;
    }

    public void setMMachType(String MMachType) {
        this.MMachType = MMachType;
    }

    public String getMMach() {
        return MMach;
    }

    public void setMMach(String MMach) {
        this.MMach = MMach;
    }

    public String getMMan() {
        return MMan;
    }

    public void setMMan(String MMan) {
        this.MMan = MMan;
    }

    public String getMLamp() {
        return MLamp;
    }

    public void setMLamp(String MLamp) {
        this.MLamp = MLamp;
    }

    public Date getMGray() {
        return MGray;
    }

    public void setMGray(Date MGray) {
        this.MGray = MGray;
    }

    public Date getMRed() {
        return MRed;
    }

    public void setMRed(Date MRed) {
        this.MRed = MRed;
    }

    public Date getMYellow() {
        return MYellow;
    }

    public void setMYellow(Date MYellow) {
        this.MYellow = MYellow;
    }

    public Date getMGreen() {
        return MGreen;
    }

    public void setMGreen(Date MGreen) {
        this.MGreen = MGreen;
    }

    public String getMStopNow() {
        return MStopNow;
    }

    public void setMStopNow(String MStopNow) {
        this.MStopNow = MStopNow;
    }

    public String getMStopTotle() {
        return MStopTotle;
    }

    public void setMStopTotle(String MStopTotle) {
        this.MStopTotle = MStopTotle;
    }

    public String getMReason() {
        return MReason;
    }

    public void setMReason(String MReason) {
        this.MReason = MReason;
    }

    public String getMResdDept1() {
        return MResdDept1;
    }

    public void setMResdDept1(String MResdDept1) {
        this.MResdDept1 = MResdDept1;
    }

    public String getMResdDept2() {
        return MResdDept2;
    }

    public void setMResdDept2(String MResdDept2) {
        this.MResdDept2 = MResdDept2;
    }

    public String getMType() {
        return MType;
    }

    public void setMType(String MType) {
        this.MType = MType;
    }

    public String getMSpec() {
        return MSpec;
    }

    public void setMSpec(String MSpec) {
        this.MSpec = MSpec;
    }

    public String getMPrd() {
        return MPrd;
    }

    public void setMPrd(String MPrd) {
        this.MPrd = MPrd;
    }

    public String getMDesc() {
        return MDesc;
    }

    public void setMDesc(String MDesc) {
        this.MDesc = MDesc;
    }

    public Float getMct() {
        return mct;
    }

    public void setMct(Float mct) {
        this.mct = mct;
    }

    public Integer getMTireCount() {
        return MTireCount;
    }

    public void setMTireCount(Integer MTireCount) {
        this.MTireCount = MTireCount;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "MCXMonitorLog{" +
        "id=" + id +
        ", MDate=" + MDate +
        ", MDept=" + MDept +
        ", MDept1=" + MDept1 +
        ", MPlant=" + MPlant +
        ", MMachType=" + MMachType +
        ", MMach=" + MMach +
        ", MMan=" + MMan +
        ", MLamp=" + MLamp +
        ", MGray=" + MGray +
        ", MRed=" + MRed +
        ", MYellow=" + MYellow +
        ", MGreen=" + MGreen +
        ", MStopNow=" + MStopNow +
        ", MStopTotle=" + MStopTotle +
        ", MReason=" + MReason +
        ", MResdDept1=" + MResdDept1 +
        ", MResdDept2=" + MResdDept2 +
        ", MType=" + MType +
        ", MSpec=" + MSpec +
        ", MPrd=" + MPrd +
        ", MDesc=" + MDesc +
        ", mct=" + mct +
        ", MTireCount=" + MTireCount +
        "}";
    }
}
